-
UserCannotLogIntoRailwayWithInvalidPassword
9:38:14 AM / 00:00:02:520 Fail
UserCannotLogIntoRailwayWithInvalidPassword
06.28.2025 9:38:14 AM 06.28.2025 9:38:17 AM 00:00:02:520 · #test-id=1Status Timestamp Details Info 9:38:14 AM 1. Navigate to QA Railway Website Info 9:38:14 AM 2. Click on 'Login' tab Info 9:38:14 AM Click on tab Login Info 9:38:15 AM 3. Enter valid Email and invalid Password Info 9:38:15 AM 4. Click on 'Login' button Info 9:38:15 AM Enter username: vffaebxr@sharklasers.com Info 9:38:15 AM Enter password: minh@gmail.com Info 9:38:16 AM click button: Info 9:38:16 AM Error messageInvalid username or password. Please try again. Fail 9:38:16 AM java.lang.AssertionError: expected [There was a problem with your login and/or errors exist in your form.] but found [Invalid username or password. Please try again.] Info 9:38:16 AM Screenshot saved to: D:\AGEST\SeleniumExercise\SeleniumLevel1\test-images\com.tests.login.TC03\UserCannotLogIntoRailwayWithInvalidPassword_28062025_093816.png Fail 9:38:17 AM -
userCannotLoginWithBlankUsernameTextbox
9:38:14 AM / 00:00:02:176 Pass
userCannotLoginWithBlankUsernameTextbox
06.28.2025 9:38:14 AM 06.28.2025 9:38:16 AM 00:00:02:176 · #test-id=2Status Timestamp Details Info 9:38:14 AM 1. Navigate to QA Railway Website Info 9:38:14 AM 2. Click on 'Login' tab Info 9:38:14 AM Click on tab Login Info 9:38:15 AM 3. User doesn't type any words into 'Username' textbox but enter valid information into 'Password' textbox Info 9:38:15 AM 4. Click on 'Login' button Info 9:38:15 AM Enter username: Info 9:38:15 AM Enter password: minh12345 Info 9:38:16 AM click button: Info 9:38:16 AM Error messageThere was a problem with your login and/or errors exist in your form. Pass 9:38:16 AM Test passed -
userCanLogIntoRailwayWithValidUsernameAndPassword
9:38:14 AM / 00:00:02:943 Fail
userCanLogIntoRailwayWithValidUsernameAndPassword
06.28.2025 9:38:14 AM 06.28.2025 9:38:17 AM 00:00:02:943 · #test-id=3Status Timestamp Details Info 9:38:14 AM 1. Navigate to QA Railway Website Info 9:38:14 AM 2. Click on 'Login' tab Info 9:38:14 AM Click on tab Login Info 9:38:15 AM 3. Enter valid Email and Password: Info 9:38:15 AM 4. Click on 'Login' button Info 9:38:15 AM Enter username: vffaebxr@sharklasers.com Info 9:38:15 AM Enter password: minh12345 Info 9:38:16 AM click button: Fail 9:38:17 AM java.lang.AssertionError: expected [Welcome vffaebxr@sharklasers.com] but found [] Info 9:38:17 AM Screenshot saved to: D:\AGEST\SeleniumExercise\SeleniumLevel1\test-images\com.tests.login.TC01\userCanLogIntoRailwayWithValidUsernameAndPassword_28062025_093817.png Fail 9:38:17 AM -
loginPageDisplaysWhenUnLoggedUserClicksOnBookTicketTab
9:38:14 AM / 00:00:01:344 Pass
loginPageDisplaysWhenUnLoggedUserClicksOnBookTicketTab
06.28.2025 9:38:14 AM 06.28.2025 9:38:15 AM 00:00:01:344 · #test-id=4Status Timestamp Details Info 9:38:14 AM 1. Navigate to QA Railway Website Info 9:38:14 AM 2. Click on 'Book ticket' tab Info 9:38:14 AM Click on tab Book ticket Pass 9:38:15 AM Test passed -
systemShowsMessageWhenUserEntersWrongPasswordSeveralTimes
9:38:19 AM / 00:00:02:992 Fail
systemShowsMessageWhenUserEntersWrongPasswordSeveralTimes
06.28.2025 9:38:19 AM 06.28.2025 9:38:22 AM 00:00:02:992 · #test-id=5Status Timestamp Details Info 9:38:19 AM 1. Navigate to QA Railway Website Info 9:38:19 AM 2. Click on 'Login' tab Info 9:38:19 AM Click on tab Login Info 9:38:19 AM 3. Enter valid information into 'Username' textbox except 'Password' textbox. Info 9:38:19 AM 4. Click on 'Login' button Info 9:38:19 AM 5. Repeat step 3 three more times. Info 9:38:19 AM Enter username: vffaebxr@sharklasers.com Info 9:38:19 AM Enter password: minh@gmail.com Info 9:38:20 AM click button: Info 9:38:20 AM Enter username: vffaebxr@sharklasers.com Info 9:38:21 AM Enter password: minh@gmail.com Info 9:38:21 AM click button: Info 9:38:21 AM Enter username: vffaebxr@sharklasers.com Fail 9:38:21 AM org.openqa.selenium.StaleElementReferenceException: stale element reference: stale element not found (Session info: chrome=138.0.7204.49) For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception Build info: version: '4.33.0', revision: '2c6aaad03a' System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.27' Driver info: org.openqa.selenium.chrome.ChromeDriver Command: [7b39b773ed7e372d44b5287eb87946c8, sendKeysToElement {id=f.85199D55E0707735700F98A965188E07.d.19C955E89937EE6D4A2A7B72C93FD554.e.256, value=[Ljava.lang.CharSequence;@3295a189}] Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 138.0.7204.49, chrome: {chromedriverVersion: 138.0.7204.49 (d2b48fd5f781..., userDataDir: C:\Users\ANHMIN~1\AppData\L...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:65031}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: windows, proxy: Proxy(), se:cdp: ws://localhost:65031/devtoo..., se:cdpVersion: 138.0.7204.49, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true} Element: [[ChromeDriver: chrome on windows (7b39b773ed7e372d44b5287eb87946c8)] -> id: username] Session ID: 7b39b773ed7e372d44b5287eb87946c8 Info 9:38:22 AM Screenshot saved to: D:\AGEST\SeleniumExercise\SeleniumLevel1\test-images\com.tests.login.TC05\systemShowsMessageWhenUserEntersWrongPasswordSeveralTimes_28062025_093822.png Fail 9:38:22 AM -
additionalPagesDisplayOnceUserLoggedIn
9:38:19 AM / 00:00:03:562 Pass
additionalPagesDisplayOnceUserLoggedIn
06.28.2025 9:38:19 AM 06.28.2025 9:38:23 AM 00:00:03:562 · #test-id=6Status Timestamp Details Info 9:38:19 AM 1. Navigate to QA Railway Website Info 9:38:19 AM 2. Click on 'Login' tab Info 9:38:19 AM Click on tab Login Info 9:38:20 AM 3. Login with valid account Info 9:38:20 AM Enter username: vffaebxr@sharklasers.com Info 9:38:20 AM Enter password: minh12345 Info 9:38:21 AM click button: Info 9:38:22 AM Click on tab My ticket Info 9:38:22 AM Click on tab Change password Pass 9:38:23 AM Test passed -
userCanCreateNewAccount
9:38:20 AM / 00:00:03:459 Pass
userCanCreateNewAccount
06.28.2025 9:38:20 AM 06.28.2025 9:38:23 AM 00:00:03:459 · #test-id=7Status Timestamp Details Info 9:38:20 AM 1. Navigate to QA Railway Website Info 9:38:20 AM 2. Click on 'Register' tab Info 9:38:20 AM Click on tab Register Info 9:38:21 AM 3. Enter valid information into all fields Info 9:38:21 AM 4. Click on 'Register' button Info 9:38:21 AM Enter email: minh09_38_21@gmail.com Info 9:38:21 AM Enter password: minh12345 Info 9:38:21 AM Enter confirm password: minh12345 Info 9:38:21 AM Enter PID: 27183714777 Info 9:38:21 AM Click button: Pass 9:38:23 AM Test passed -
userCannotLoginWithAnAccountHasNotBeenActivated
9:38:20 AM / 00:00:01:687 Pass
userCannotLoginWithAnAccountHasNotBeenActivated
06.28.2025 9:38:20 AM 06.28.2025 9:38:22 AM 00:00:01:687 · #test-id=8Status Timestamp Details Info 9:38:20 AM 1. Navigate to QA Railway Website Info 9:38:20 AM 2. Click on 'Login' tab Info 9:38:20 AM Click on tab Login Info 9:38:21 AM 3. Enter username and password of account hasn't been activated. Info 9:38:21 AM 4. Click on 'Login' button Info 9:38:21 AM Enter username: minh@gmail.com Info 9:38:21 AM Enter password: minh@gmail.com Info 9:38:21 AM click button: Info 9:38:22 AM Error messageInvalid username or password. Please try again. Pass 9:38:22 AM Test passed -
userCanChangePassword
9:38:25 AM / 00:00:04:286 Fail
userCanChangePassword
06.28.2025 9:38:25 AM 06.28.2025 9:38:29 AM 00:00:04:286 · #test-id=9Status Timestamp Details Info 9:38:25 AM 1. Navigate to QA Railway Website Info 9:38:25 AM 2. Login with valid account Info 9:38:25 AM Click on tab Login Info 9:38:26 AM Enter username: vffaebxr@sharklasers.com Info 9:38:26 AM Enter password: minh12345 Info 9:38:26 AM click button: Info 9:38:27 AM 3. Click on 'Change Password' tab Info 9:38:27 AM 4. Enter valid value into all fields. Info 9:38:27 AM 5. Click on 'Change Password' button Info 9:38:27 AM Click on tab Change password Info 9:38:28 AM Passwordminh12345 Info 9:38:28 AM New Passwordminh12345 Info 9:38:28 AM Confirm Passwordminh12345 Info 9:38:28 AM Click button Fail 9:38:29 AM java.lang.AssertionError: expected [Your password has been updated] but found [Your password has been updated!] Info 9:38:29 AM Screenshot saved to: D:\AGEST\SeleniumExercise\SeleniumLevel1\test-images\com.tests.login.TC09\userCanChangePassword_28062025_093829.png Fail 9:38:29 AM -
userCannotCreateAccountWithConfirmPasswordIsNotTheSameWithPassword
9:38:25 AM / 00:00:01:893 Pass
userCannotCreateAccountWithConfirmPasswordIsNotTheSameWithPassword
06.28.2025 9:38:25 AM 06.28.2025 9:38:27 AM 00:00:01:893 · #test-id=10Status Timestamp Details Info 9:38:25 AM 1. Navigate to QA Railway Website Info 9:38:25 AM 2. Click on 'Register' tab Info 9:38:25 AM Click on tab Register Info 9:38:26 AM 3. Enter valid information into all fields except 'Confirm password' is not the same with 'Password' Info 9:38:26 AM 4. Click on 'Register' button Info 9:38:26 AM Enter email: minh09_38_21@gmail.com Info 9:38:26 AM Enter password: minh12345 Info 9:38:26 AM Enter confirm password: minh123451 Info 9:38:26 AM Enter PID: 27183714777 Info 9:38:26 AM Click button: Pass 9:38:27 AM Test passed -
userCannotCreateAccountWhilePasswordAndPIDFieldsAreEmpty
9:38:26 AM / 00:00:02:091 Fail
userCannotCreateAccountWhilePasswordAndPIDFieldsAreEmpty
06.28.2025 9:38:26 AM 06.28.2025 9:38:28 AM 00:00:02:091 · #test-id=11Status Timestamp Details Info 9:38:26 AM 1. Navigate to QA Railway Website Info 9:38:26 AM 2. Click on 'Register' tab Info 9:38:26 AM Click on tab Register Info 9:38:27 AM 3. Enter valid email address and leave other fields empty Info 9:38:27 AM 4. Click on 'Register' button Info 9:38:27 AM Enter email: vffaebxr@sharklasers.com Info 9:38:27 AM Enter password: Info 9:38:27 AM Enter confirm password: Info 9:38:27 AM Enter PID: Info 9:38:27 AM Click button: Fail 9:38:28 AM java.lang.AssertionError: The following asserts failed: expected [Invalid password length.] but found [Invalid password length], expected [Invalid ID length.] but found [Invalid ID length] Info 9:38:28 AM Screenshot saved to: D:\AGEST\SeleniumExercise\SeleniumLevel1\test-images\com.tests.register.TC11\userCannotCreateAccountWhilePasswordAndPIDFieldsAreEmpty_28062025_093828.png Fail 9:38:28 AM -
errorsDisplayWhenPasswordResetTokenIsBlankUseMailAPI
9:38:27 AM / 00:00:24:814 Fail
errorsDisplayWhenPasswordResetTokenIsBlankUseMailAPI
06.28.2025 9:38:27 AM 06.28.2025 9:38:52 AM 00:00:24:814 · #test-id=12Status Timestamp Details Info 9:38:29 AM Pre-condition: Create and activate a new account Info 9:38:29 AM Click on tab Register Info 9:38:29 AM Enter email: nv3abIEava24@mailslurp.biz Info 9:38:30 AM Enter password: minh12345 Info 9:38:30 AM Enter confirm password: minh12345 Info 9:38:30 AM Enter PID: 27183714777 Info 9:38:30 AM Click button: Info 9:38:40 AM 1. Navigate to QA Railway Login page Info 9:38:40 AM 2. Click on 'Forgot Password page' link Info 9:38:40 AM Click on tab Login Info 9:38:43 AM 3. Enter the email address of the created account in Pre-condition Info 9:38:43 AM 4. Click on 'Send Instructions' button Info 9:38:45 AM 5. Open mailbox and click on reset password link Info 9:38:50 AM 6. Enter new passwords and remove the Password Reset Token Info 9:38:50 AM 7. Click 'Reset Password' button Fail 9:38:51 AM java.lang.AssertionError: Error message element does not exist expected [true] but found [false] Info 9:38:52 AM Screenshot saved to: D:\AGEST\SeleniumExercise\SeleniumLevel1\test-images\com.tests.forgotpassword.TC12\errorsDisplayWhenPasswordResetTokenIsBlankUseMailAPI_28062025_093852.png Fail 9:38:52 AM -
errorsDisplayWhenPasswordResetTokenIsBlankUseUI
9:38:31 AM / 00:00:18:131 Fail
errorsDisplayWhenPasswordResetTokenIsBlankUseUI
06.28.2025 9:38:31 AM 06.28.2025 9:38:49 AM 00:00:18:131 · #test-id=13Status Timestamp Details Info 9:38:31 AM Pre-condition: Create and activate a new account Info 9:38:31 AM 1. Navigate to QA Railway Login page Info 9:38:31 AM Click on tab Login Info 9:38:31 AM 2. Click on 'Forgot Password page' link Info 9:38:32 AM 3. Enter the email address of the created account in Pre-condition Info 9:38:32 AM 4. Click on 'Send Instructions' button Info 9:38:34 AM 5. Open mailbox and click on reset password link Info 9:38:47 AM 6. Enter new passwords and remove the Password Reset Token Info 9:38:47 AM 7. Click 'Reset Password' button Fail 9:38:49 AM java.lang.AssertionError: Error message element does not exist expected [true] but found [false] Info 9:38:49 AM Screenshot saved to: D:\AGEST\SeleniumExercise\SeleniumLevel1\test-images\com.tests.forgotpassword.TC12\errorsDisplayWhenPasswordResetTokenIsBlankUseUI_28062025_093849.png Fail 9:38:49 AM -
errorsDisplayIfPasswordAndConfirmPasswordDontMatchWhenResettingPassword
9:38:32 AM / 00:00:19:013 Pass
errorsDisplayIfPasswordAndConfirmPasswordDontMatchWhenResettingPassword
06.28.2025 9:38:32 AM 06.28.2025 9:38:51 AM 00:00:19:013 · #test-id=14Status Timestamp Details Info 9:38:32 AM Pre-condition: Create and activate a new account Info 9:38:32 AM 1. Navigate to QA Railway Login page Info 9:38:32 AM 2. Click on 'Forgot Password page' link Info 9:38:32 AM Click on tab Login Info 9:38:33 AM 3. Enter the email address of the created account in Pre-condition Info 9:38:33 AM 4. Click on 'Send Instructions' button Info 9:38:35 AM 5. Open mailbox and click on reset password link Info 9:38:50 AM 6. Enter different values for password fields Info 9:38:50 AM 7. Click 'Reset Password' button Pass 9:38:51 AM Test passed -
userCanBookOneTicketAtATime
9:38:33 AM / 00:00:06:201 Pass
userCanBookOneTicketAtATime
06.28.2025 9:38:33 AM 06.28.2025 9:38:39 AM 00:00:06:201 · #test-id=15Status Timestamp Details Info 9:38:33 AM Pre-condition: Create and activate a new account Info 9:38:33 AM 1. Navigate to QA Railway Website Info 9:38:33 AM Click on tab Login Info 9:38:33 AM 2. Login with a valid account Info 9:38:33 AM Enter username: vffaebxr@sharklasers.com Info 9:38:33 AM Enter password: minh12345 Info 9:38:34 AM click button: Info 9:38:35 AM 3. Click on 'Book ticket' tab Info 9:38:35 AM Click on tab Book ticket Info 9:38:36 AM Select a 'Depart date' from the list Info 9:38:36 AM Select Đà Nẵng for 'Depart from' and Nha Trang for 'Arrive at'. Info 9:38:37 AM Select Soft bed with air conditioner for 'Seat type' Info 9:38:37 AM Select 2 for 'Ticket amount' Info 9:38:37 AM Click on 'Book ticket' button Pass 9:38:39 AM Test passed -
userCanOpenBookTicketPageByClickingOnBookTicketLinkInTrainTimetablePage
9:38:44 AM / 00:00:04:740 Pass
userCanOpenBookTicketPageByClickingOnBookTicketLinkInTrainTimetablePage
06.28.2025 9:38:44 AM 06.28.2025 9:38:48 AM 00:00:04:740 · #test-id=16Status Timestamp Details Info 9:38:44 AM Pre-condition: Create and activate a new account Info 9:38:44 AM 1. Navigate to QA Railway Website Info 9:38:44 AM Click on tab Login Info 9:38:44 AM 2. Login with a valid account Info 9:38:44 AM Enter username: vffaebxr@sharklasers.com Info 9:38:44 AM Enter password: minh12345 Info 9:38:45 AM click button: Info 9:38:46 AM 3. Click on 'Timetable' tab Info 9:38:46 AM Click on tab Timetable Info 9:38:47 AM 4. Click on 'book ticket' link of the route from 'Huế' to 'Sài Gòn' Pass 9:38:48 AM Test passed -
userCanCancelATicket
9:38:52 AM / 00:00:06:560 Pass
userCanCancelATicket
06.28.2025 9:38:52 AM 06.28.2025 9:38:59 AM 00:00:06:560 · #test-id=17Status Timestamp Details Info 9:38:52 AM Pre-condition: Create and activate a new account Info 9:38:52 AM 1. Navigate to QA Railway Website Info 9:38:52 AM 2. Login with a valid account Info 9:38:52 AM Click on tab Login Info 9:38:53 AM Enter username: vffaebxr@sharklasers.com Info 9:38:53 AM Enter password: minh12345 Info 9:38:53 AM click button: Info 9:38:55 AM 3. Book a ticket Info 9:38:55 AM Click on tab Book ticket Info 9:38:55 AM Select a 'Depart date' from the list Info 9:38:55 AM Select Đà Nẵng for 'Depart from' and Nha Trang for 'Arrive at'. Info 9:38:56 AM Select Soft bed with air conditioner for 'Seat type' Info 9:38:56 AM Select 2 for 'Ticket amount' Info 9:38:56 AM Click on 'Book ticket' button Info 9:38:57 AM 4. Click on 'My ticket' tab Info 9:38:57 AM Click on tab My ticket Info 9:38:58 AM 5. Click on 'Cancel' button of ticket which user want to cancel. Info 9:38:58 AM 6. Click on 'OK' button on Confirmation message 'Are you sure?' Pass 9:38:59 AM Test passed
-
java.lang.AssertionError
6 tests
java.lang.AssertionError
6 failedStatus Timestamp TestName Fail 09:38:14 AM UserCannotLogIntoRailwayWithInvalidPassword Fail 09:38:14 AM userCanLogIntoRailwayWithValidUsernameAndPassword Fail 09:38:26 AM userCannotCreateAccountWhilePasswordAndPIDFieldsAreEmpty Fail 09:38:25 AM userCanChangePassword Fail 09:38:31 AM errorsDisplayWhenPasswordResetTokenIsBlankUseUI Fail 09:38:27 AM errorsDisplayWhenPasswordResetTokenIsBlankUseMailAPI -
org.openqa.selenium.StaleElementReferenceException
1 tests
org.openqa.selenium.StaleElementReferenceException
1 failedStatus Timestamp TestName Fail 09:38:19 AM systemShowsMessageWhenUserEntersWrongPasswordSeveralTimes
Started
Jun 28, 2025 09:38:09 AM
Ended
Jun 28, 2025 09:38:59 AM
Tests Passed
10
Tests Failed
7
Tests
Log events
Timeline